package org.adream.account.dao;

import org.adream.account.entity.AccountCancelEntity;
import org.apache.ibatis.annotations.Param;

@BaseMybatisDao
public interface AccountCancelDao {
	
	int addCancelInfo(AccountCancelEntity cancel);
	
	int replaceCancelInfo(AccountCancelEntity cancel);
	
	int countCancelByCancelUid(@Param("cancelUid") String cancelUid);
	
	int checkCancelInfo(AccountCancelEntity cancel);
	
	AccountCancelEntity queryCancelByCancelUid(@Param("cancelUid") String cancelUid);
	
	AccountCancelEntity queryRecentCancelByUid(@Param("uid") String uid);
}
